package com.mg.service;

import com.github.pagehelper.PageInfo;
import com.mg.dto.PurchaseRecordDto;
import com.mg.dto.SimpleResult;
import com.mg.model.PurchaseRecord;

/**
 * Created by mg1213 on 2018/3/18.
 */
public interface PurchaseRecordService {
    PageInfo<PurchaseRecordDto> selectPageInfo(PurchaseRecordDto dto, int start, int limit);

    SimpleResult insertPurchaseRecord(PurchaseRecord record);
    SimpleResult updatePurchaseRecord(PurchaseRecord record);

    SimpleResult deletePurchaseRecord(String ids);
}
